package com.chen.demohystriyfeign.controller;


import com.chen.common.dto.ResponseResult;
import com.chen.demohystriyfeign.service.TestFeignCallerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/feigncaller")
public class TestFeignCallerController {
    @Autowired
    private TestFeignCallerService feignCallerService;


    @RequestMapping("/test")
    public void test1(){
        System.out.println("ffffffffffffffffffffffff");
        ResponseResult list=feignCallerService.getTestData();
        System.out.println(list);

    }

}
